﻿using CozeDomain.Entities;  
using D.Tool.CodeBuild.Models;
using D.UtilFreesqlOrm;

namespace CozeDomain.IRepositories
{
    /// <summary>
    /// 代码生成模块
    /// </summary>
    public interface ISysCodeBuilderRepository : IBaseRepository<SysCodeBuilderEntity>
    {

        /// <summary>
        /// 获取数据库表
        /// </summary>
        /// <returns></returns>
        IEnumerable<string> GetDbList();

        /// <summary>
        /// 获取表字段
        /// </summary>
        /// <param name="dbName"></param>
        /// <returns></returns>
        IEnumerable<TablesInput> GetTableList(string dbName); 
    }
}
